package com.yeyks.consumer.param.UserMemberCard;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserMemberCardUpdatePwdParam {

    @ApiModelProperty(hidden = true)
    private Integer userId;
    private Integer cardType = 1;
    @NotBlank(message = "旧支付密码不能为空")
    private String oldPassword;
    @NotBlank(message = "新支付密码不能为空")
    private String newPassword;

}
